//
//  RTJLendResultController.m
//  RuiTaiJinProject
//
//  Created by jayson on 2018/12/4.
//  Copyright © 2018年 leewei. All rights reserved.
//

#import "RTJLendResultController.h"
#import "RTJLendCell.h"

@interface RTJLendResultController ()

@property (weak, nonatomic) IBOutlet UITableView *tableView;


@end

@implementation RTJLendResultController

-(void)viewWillAppear:(BOOL)animated{
    
    self.navigationController.navigationBarHidden = NO;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.title = @"结果";
    self.tableView.tableFooterView=[UIView new];
    self.tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
    self.tableView.estimatedRowHeight = 300;
    
}

-(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
    
    return 1;
    
}

-(CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
    
    return UITableViewAutomaticDimension;
    
}

-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
    
    static NSString * ID = @"RTJLendCell";
    
    RTJLendCell *cell = [tableView dequeueReusableCellWithIdentifier:ID];
    
    if (!cell) {
        
        cell = [[NSBundle mainBundle] loadNibNamed:@"RTJLendCell" owner:self options:nil][1];
    }
    
    cell.selectionStyle=UITableViewCellSelectionStyleNone;
    return  cell;
    
}


@end
